package com.gan.springcloud.cartconsumerfeign.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.Map;

@FeignClient("goods-provider")
public interface AccountService {
    //获取客户信息
    @RequestMapping(value = "/getAccount", method = RequestMethod.GET)
    public Map<String,Object> getAccount();
}
